<template>
    <div class="happy-form">
        <slot></slot>
    </div>
</template>
<script>
    export default {
        name: 'happyForm',
        provide () {
            return {
                Form: this
            }
        },
        props: {
            model: {
                type: Object,
                required: true
            },
            labelWidth: {
                type: String,
                default: '80px'
            }
        }
    }
</script>
